Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Live Mode and General Improvements #65

Merged
merged 53 commits into from
Jan 6, 2025
Merged

Conversation

canack
Copy link
Member

@canack canack commented Jun 26, 2024

Warning

Dear developer,
GAMA's code architecture will be simpler and efficient with this PR.
If you read this, please do not make bigger changes in your fork.


Live mode now supported!

Fixes :

Also fixes:

@canack canack added documentation Improvements or additions to documentation improvement To make it better feature a new feature labels Jun 26, 2024
@canack canack self-assigned this Jun 26, 2024
@canack canack force-pushed the feature/i31-live-mode branch from e16e299 to 84c66e2 Compare June 30, 2024 10:28
@canack canack changed the title Live mode Live Mode and General Improvements Aug 4, 2024
@canack canack changed the title Live Mode and General Improvements Refactor: Live Mode and General Improvements Sep 5, 2024
…tionality with associated types and UI updates for branch selection.
- Introduced a new ModelStatus for managing application status messages.
- Consolidated UI components and improved layout calculations for better rendering.
- Enhanced error handling and messaging across various models.
- Updated the SetupModel functions to streamline initialization of models.
- Removed obsolete types and improved code organization for maintainability.
- Added functionality for handling repository and workflow selections more effectively.
- Improved user experience with better feedback messages and UI updates.

This commit enhances the overall structure and usability of the terminal handler components.
- Filter triggerable workflows to only include those from the ".github/workflows/" directory.
- Introduce lastBranch tracking in ModelGithubTrigger for improved workflow synchronization.
- Refactor ModelGithubWorkflow to manage repository and branch states more effectively.
- Implement state management for available workflows, updating UI components based on workflow presence.
- Improve user feedback with updated placeholders and blur effects when no workflows are available.

These changes improve the usability and responsiveness of the terminal handler components.
…ance and usability

- Optimize workflow processing by counting only valid workflows before creating channels.
- Enhance error handling with context timeouts for repository and workflow fetch operations.
- Improve table rendering logic to maintain readability and prevent layout issues.
- Update live mode functionality to ensure immediate updates and better user feedback.
- Refactor search functionality to handle case-insensitive searches and restore original rows when empty.

These changes enhance the responsiveness and user experience of the terminal handler components.
@canack canack marked this pull request as ready for review January 6, 2025 22:51
@canack canack merged commit 25f668f into main Jan 6, 2025
2 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 8, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [termkit/gama](https://github.com/termkit/gama) | minor | `v1.1.4` -> `v1.2.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>termkit/gama (termkit/gama)</summary>

### [`v1.2.0`](https://github.com/termkit/gama/releases/tag/v1.2.0)

[Compare Source](termkit/gama@v1.1.4...v1.2.0)

#### What's Changed

-   Fix "toolchain not available" error when `make build` by [@&#8203;VeyronSakai](https://github.com/VeyronSakai) in termkit/gama#55
-   General Improvement by [@&#8203;canack](https://github.com/canack) in termkit/gama#57
-   \[Fix] Documentation Lint by [@&#8203;VILJkid](https://github.com/VILJkid) in termkit/gama#59
-   \[Fix] Code Cleanup by [@&#8203;VILJkid](https://github.com/VILJkid) in termkit/gama#60
-   Feature [#&#8203;47](termkit/gama#47) : Fill workflow with empty message if no workflow inputs by [@&#8203;canack](https://github.com/canack) in termkit/gama#62
-   Added GH Token Auth to Readme by [@&#8203;Jelloeater](https://github.com/Jelloeater) in termkit/gama#68
-   Update README.md with notes for better GITHUB_TOKEN handling by [@&#8203;pirafrank](https://github.com/pirafrank) in termkit/gama#69
-   Refactor: Live Mode and General Improvements by [@&#8203;canack](https://github.com/canack) in termkit/gama#65

#### New Contributors

-   [@&#8203;VeyronSakai](https://github.com/VeyronSakai) made their first contribution in termkit/gama#55
-   [@&#8203;VILJkid](https://github.com/VILJkid) made their first contribution in termkit/gama#59
-   [@&#8203;Jelloeater](https://github.com/Jelloeater) made their first contribution in termkit/gama#68
-   [@&#8203;pirafrank](https://github.com/pirafrank) made their first contribution in termkit/gama#69

**Full Changelog**: termkit/gama@v1.1.4...v1.2.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MS4yIiwidXBkYXRlZEluVmVyIjoiMzkuOTEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature a new feature improvement To make it better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant